package com.gjzhao.fmmall.service;

import com.gjzhao.fmmall.entity.Orders;
import com.gjzhao.fmmall.vo.RespResultVO;

/**
 * @Description: 订单添加 Service
 * @Author: gjzhao
 * @Date Created in 2022-02-08 9:05 下午
 */
public interface ApiOrderService {

    /**
     * 添加订单
     * @param cartIds
     * @param order
     * @return
     */
    RespResultVO addOrder(String cartIds, Orders order);


    /**
     * 获取订单信息
     * @param orderId
     * @return
     */
    RespResultVO getOrder(String orderId);
}
